/*
 * Copyright 2006 Marc Wick, geonames.org
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package ca.cbc.gisdigester.eveparser;

import org.jdom.Namespace;

import com.sun.syndication.feed.module.Module;

public interface EveRSSModule extends Module {

	/**
	 * namespace URI for eve rss: <i>"http://www.cbc.ca/xmlns/event/"</i>
	 */
	public static final String EVERSS_URI = "http://www.cbc.ca/xmlns/event/";

	/**
	 * Namespace for georss simple :
	 * <i>xmlns:georss="http://www.georss.org/georss"</i>
	 */
	public static final Namespace EVERSS_NS = Namespace.getNamespace("eve", EveRSSModule.EVERSS_URI);

	public static final String ELEMENT_NAME_AUDIENCE = "audience";
	public static final String ELEMENT_NAME_CATEGORY = "category";
	public static final String ELEMENT_NAME_PRICE = "price";
	public static final String ELEMENT_NAME_FREE = "free";
	public static final String ELEMENT_NAME_START = "start";
	public static final String ELEMENT_NAME_END = "end";
	public static final String ELEMENT_NAME_NAME = "name";
	public static final String ELEMENT_NAME_ADDRESS = "address";
	public static final String ELEMENT_NAME_CITY = "city";
	public static final String ELEMENT_NAME_PROVINCE = "province";
	public static final String ELEMENT_NAME_LONGITUDE = "long";
	public static final String ELEMENT_NAME_LATITUDE = "lat";
	public static final String ELEMENT_NAME_COORDINATOR = "coordinator";
	public static final String ELEMENT_NAME_EMAIL = "email";
	public static final String ELEMENT_NAME_PHONE = "phone";
	public static final String ELEMENT_NAME_COMPANY = "company";
	public static final String ELEMENT_NAME_LINK = "link";
	public static final String ELEMENT_NAME_POSTALCODE= "postalcode";
	public static final String ELEMENT_NAME_REPEATS = "repeats";
	public String getAddress();
	public String getAudience();
	public String getCategory();
	public String getCity();
	public String getCompany();
	public String getCoordinator();
	public String getEmail();
	public long getEnd();
	public String getFree();
	public double getLatitude();
	public String getLink();
	public double getLongitude();
	public String getName();
	public String getPhone();
	public String getPostalcode();
	public String getPrice();
	public String getProvince();
	public String getRepeats();
	public long getStart();
	public void setAddress(String address);
	public void setAudience(String audience);
	
	public void setCategory(String category);
	public void setCity(String city);
	public void setCompany(String company);
	public void setCoordinator(String coordinator);
	public void setEmail(String email);
	public void setEnd(long end);
	public void setFree(String free);
	public void setLatitude(double latitude);
	public void setLink(String link);
	public void setLongitude(double longitude);
	public void setName(String name);
	public void setPhone(String phone);
	public void setPostalcode(String postalcode);
	public void setPrice(String price);
	public void setProvince(String province);
	public void setRepeats(String repeats);
	public void setStart(long start);
}
